<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>订单详情</title>
		 <meta name="renderer" content="webkit">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
	    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	    <link rel="stylesheet" href="./css/font.css">
	    <link rel="stylesheet" href="./css/xadmin.css">
	    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
	    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
	    <script type="text/javascript" src="./js/xadmin.js"></script>
	</head>
	<body>
		<div class="x-body">
        	<form class="layui-form">
        		<font>
					订单编号：1<br /><br />
					下单时间：2012-6-12<br /><br />
					车牌号：渝A：0000<br /><br />
					客户姓名：张为<br /><br />
					联系方式：15053559648<br /><br />
					订单状态：开启但未完成<br /><br />
					维修计划状态：未开启<br /><br />
					维修状态：未开启<br /><br />
					所出故障：座椅烂了，需要更换座椅<br /><br />
				</font>
	          <div class="layui-form-item">
	              <label for="L_repass" class="layui-form-label"></label>
	              <button  class="layui-btn" lay-filter="add" lay-submit="">
	         返回列表
	              </button>
	          </div>
      		</form>
    	</div>
    	
    	<script>
	        layui.use(['form','layer'], function(){
	            $ = layui.jquery;
	          var form = layui.form
	          ,layer = layui.layer;
	        
	
	          //监听提交
	          form.on('submit(add)', function(data){
	            console.log(data);
	            //发异步，把数据提交给php
	           // layer.alert("增加成功", {icon: 6},function () {
	                // 获得frame索引
	                var index = parent.layer.getFrameIndex(window.name);
	                //关闭当前frame
	                parent.layer.close(index);
	            //});
	            return false;
	          });
	          
	          
	        });
    </script>
    
	</body>
</html>
